package com.fjb.pojo.log;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 查看产品手机号日志
 * </p>
 *
 * @author hemiao
 * @since 2020-02-24
 */
public class ProductPhoneLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 产品 用户id
     */
    private Integer productUserId;

    /**
     * 查看用户id
     */
    private Integer lookUserId;

    /**
     * 查看的手机号
     */
    private String phone;

    private Integer createUserId;

    private LocalDateTime createTime;

    /**
     * 来源   电脑端 windos ，微信小程序 wx_applet，app
     */
    private String dataSource;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }
    public Integer getProductUserId() {
        return productUserId;
    }

    public void setProductUserId(Integer productUserId) {
        this.productUserId = productUserId;
    }
    public Integer getLookUserId() {
        return lookUserId;
    }

    public void setLookUserId(Integer lookUserId) {
        this.lookUserId = lookUserId;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    @Override
    public String toString() {
        return "ProductPhoneLog{" +
        "id=" + id +
        ", productId=" + productId +
        ", productUserId=" + productUserId +
        ", lookUserId=" + lookUserId +
        ", phone=" + phone +
        ", createUserId=" + createUserId +
        ", createTime=" + createTime +
        ", dataSource=" + dataSource +
        "}";
    }
}
